home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-10-25 | 615 b | 26 lines | [TEXT/WORD] |
- The MacC conventions are:
-
- /* type and constant info */
- #define appOpen 0
- #define appPrint 1
-
- typedef struct {
- short vRefNum; /* volume ref num for file */
- OSType fType; /* the file's type */
- short versNum; /* always 0?? */
- Str255 fName; /* the filename */
- } AppFile;
-
- /* routines */
-
- void CountAppFiles(message,count)
- short *message; /* open files or print them */
- short *count; /* number of files to handle */
-
- void GetAppFiles(index,theFile)
- short index;
- AppFile *theFile;
-
- void ClrAppFiles(index)
- short index;